#ifndef PTHREAD_H
#define PTHREAD_H
#include"/home/xuhuinan1/ds18b20/mosquitto-2.0.9/platform.h"
#include<pthread.h>

typedef void *(thread_worker) (void *args);
extern int thread_init(pthread_t *tid,thread_worker* thread_work,void * args);

//extern int thread_destory(void);
extern int sig_stop;
extern int connect_flag;
#endif
